package com.supply.dl.bean;


import java.math.BigDecimal;
import java.util.ArrayList;

/**
 * 领料收货 保存收货提交对象
 * <p>
 * Author: tian <br>
 * Time: 2018/9/6 9:54
 */
public class ReceiveSaveJobPost extends BaseBean {

    /**
     * <pre>
     id	string	否	作业ID	不传
     noticeOrderId	string	是	通知单ID
     noticeOrderNo	string	是	通知单号
     appJobDtoLists	List<T>	是	见 作业单详细	*1
     * <pre/>
     */

    /**
     * 作业ID	不传
     */
    private String id;

    /**
     * 通知单ID
     */
    private String noticeOrderId;

    /**
     * 通知单号
     */
    private String noticeOrderNo;

    /**
     * 作业单详细
     */
    private ArrayList<JobDetail> appJobDtoLists;

    /**
     * 作业记录列表
     */
    private ArrayList<WorkNotesBean> jobAmountList;

    /**
     * 附件列表
     */
    private ArrayList<JobAttachBean> jobAttachList;

    /**
     * 数据是否已经提交过
     */
    private boolean hasPost;

    public boolean isHasPost() {
        return hasPost;
    }

    public void setHasPost(boolean hasPost) {
        this.hasPost = hasPost;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNoticeOrderId() {
        return noticeOrderId;
    }

    public void setNoticeOrderId(String noticeOrderId) {
        this.noticeOrderId = noticeOrderId;
    }

    public String getNoticeOrderNo() {
        return noticeOrderNo;
    }

    public void setNoticeOrderNo(String noticeOrderNo) {
        this.noticeOrderNo = noticeOrderNo;
    }

    public ArrayList<JobDetail> getAppJobDtoLists() {
        return appJobDtoLists;
    }

    public void setAppJobDtoLists(ArrayList<JobDetail> appJobDtoLists) {
        this.appJobDtoLists = appJobDtoLists;
    }

    public ArrayList<WorkNotesBean> getJobAmountList() {
        return jobAmountList;
    }

    public void setJobAmountList(ArrayList<WorkNotesBean> jobAmountList) {
        this.jobAmountList = jobAmountList;
    }

    public ArrayList<JobAttachBean> getJobAttachList() {
        return jobAttachList;
    }

    public void setJobAttachList(ArrayList<JobAttachBean> jobAttachList) {
        this.jobAttachList = jobAttachList;
    }

    /**
     * 作业单对象
     */
    public static class JobDetail extends BaseBean {

        /**
         * <pre>
         orderId	string	是	订单ID	*1
         orderNo	string		订单号	*1
         orderDetailId	string		订单明细ID	*1
         noticeOrderId	string	是	通知单ID	*1
         noticeOrderNo	string		通知单号	*1
         noticeOrderDetailId	string		通知单明细ID	*1
         relatedJobId	string	是	关联作业id	*1
         jobType	integer	是	作业类型	(0:入库,1:出库)
         isActual	integer	是	是否订单作业	(0:否,1:是)
         actualStockId	string	是	库位ID	*1
         actualWhId	string	是	仓库ID	*1
         packageWeight	bigdecimal	是	单件重量	*1
         skuId	string	是	物料ID	*1
         skuCode	string	是	物料编码	*1
         skuName	string	是	物料名称	*1
         actualAmount	bigdecimal	是	数量(件)	*1
         actualWeight	bigdecimal	是	重量(吨)	*1
         actualVolume	bigdecimal	是	体积(吨)	*1
         stockStatus	string	是	库存状态	*1
         stockType	string	是	库存类型	*1
         unitId	string	是	规格	*1
         batchNo	string	是	批次号	*1
         remark	string	是	备注	*1
         * <pre/>
         */

        /**
         * 订单id
         */
        private String orderId;

        /**
         * 订单号
         */
        private String orderNo;

        /**
         * 订单明细id
         */
        private String orderDetailId;

        /**
         * 通知单id
         */
        private String noticeOrderId;

        /**
         * 通知单号
         */
        private String noticeOrderNo;


        /**
         * 通知单明细id
         */
        private String noticeOrderDetailId;

        /**
         * 关联作业id
         */
        private String relatedJobId;

        /**
         * 作业类型	(0:入库,1:出库)
         */
        private int jobType;

        /**
         * 是否订单作业	(0:否,1:是)
         */
        private int isActual;

        /**
         * 库位ID	*1
         */
        private String actualStockId;

        /**
         * 仓库ID	*1
         */
        private String actualWhId;

        /**
         * 单件重量
         */
        private BigDecimal packageWeight;

        /**
         * 物料id
         */
        private String skuId;

        /**
         * 物料编码
         */
        private String skuCode;

        /**
         * 物料名字
         */
        private String skuName;

        /**
         * 数量件
         */
        private BigDecimal actualAmount;

        /**
         * 数量吨
         */
        private BigDecimal actualWeight;

        /**
         * 数量方
         */
        private BigDecimal actualVolume;

        /**
         * 库存状态
         */
        private String stockStatus;

        /**
         * 库存类型
         */
        private String stockType;


        /**
         * 规格id
         */
        private String unitId;

        /**
         * 批次号
         */
        private String batchNo;

        /**
         * 备注
         */
        private String remark;

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getOrderDetailId() {
            return orderDetailId;
        }

        public void setOrderDetailId(String orderDetailId) {
            this.orderDetailId = orderDetailId;
        }

        public String getNoticeOrderId() {
            return noticeOrderId;
        }

        public void setNoticeOrderId(String noticeOrderId) {
            this.noticeOrderId = noticeOrderId;
        }

        public String getNoticeOrderNo() {
            return noticeOrderNo;
        }

        public void setNoticeOrderNo(String noticeOrderNo) {
            this.noticeOrderNo = noticeOrderNo;
        }

        public String getNoticeOrderDetailId() {
            return noticeOrderDetailId;
        }

        public void setNoticeOrderDetailId(String noticeOrderDetailId) {
            this.noticeOrderDetailId = noticeOrderDetailId;
        }

        public String getRelatedJobId() {
            return relatedJobId;
        }

        public void setRelatedJobId(String relatedJobId) {
            this.relatedJobId = relatedJobId;
        }

        public int getJobType() {
            return jobType;
        }

        public void setJobType(int jobType) {
            this.jobType = jobType;
        }

        public int getIsActual() {
            return isActual;
        }

        public void setIsActual(int isActual) {
            this.isActual = isActual;
        }

        public String getActualStockId() {
            return actualStockId;
        }

        public void setActualStockId(String actualStockId) {
            this.actualStockId = actualStockId;
        }

        public String getActualWhId() {
            return actualWhId;
        }

        public void setActualWhId(String actualWhId) {
            this.actualWhId = actualWhId;
        }

        public BigDecimal getPackageWeight() {
            return packageWeight;
        }

        public void setPackageWeight(BigDecimal packageWeight) {
            this.packageWeight = packageWeight;
        }

        public String getSkuId() {
            return skuId;
        }

        public void setSkuId(String skuId) {
            this.skuId = skuId;
        }

        public String getSkuCode() {
            return skuCode;
        }

        public void setSkuCode(String skuCode) {
            this.skuCode = skuCode;
        }

        public String getSkuName() {
            return skuName;
        }

        public void setSkuName(String skuName) {
            this.skuName = skuName;
        }

        public BigDecimal getActualAmount() {
            return actualAmount;
        }

        public void setActualAmount(BigDecimal actualAmount) {
            this.actualAmount = actualAmount;
        }

        public BigDecimal getActualWeight() {
            return actualWeight;
        }

        public void setActualWeight(BigDecimal actualWeight) {
            this.actualWeight = actualWeight;
        }

        public BigDecimal getActualVolume() {
            return actualVolume;
        }

        public void setActualVolume(BigDecimal actualVolume) {
            this.actualVolume = actualVolume;
        }

        public String getStockStatus() {
            return stockStatus;
        }

        public void setStockStatus(String stockStatus) {
            this.stockStatus = stockStatus;
        }

        public String getStockType() {
            return stockType;
        }

        public void setStockType(String stockType) {
            this.stockType = stockType;
        }

        public String getUnitId() {
            return unitId;
        }

        public void setUnitId(String unitId) {
            this.unitId = unitId;
        }

        public String getBatchNo() {
            return batchNo;
        }

        public void setBatchNo(String batchNo) {
            this.batchNo = batchNo;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }
    }
}
